package assist.domain.model;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = "true")
public class EventPlayerOnIce
{
     @PrimaryKey
     @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
     private Long key;
     @Persistent
     private Long eventId;
     @Persistent
     private Long playerId;
     public void setEventId(Long eventId)
     {
         this.eventId = eventId;
     }
     public Long getEventId()
     {
         return this.eventId;
     }
    /**
     * @param playerId the playerId to set
     */
    public void setPlayerId(Long playerId)
    {
        this.playerId = playerId;
    }
    /**
     * @return the playerId
     */
    public Long getPlayerId()
    {
        return playerId;
    }
    /**
     * @param key the key to set
     */
    public void setKey(Long key)
    {
        this.key = key;
    }
    /**
     * @return the key
     */
    public Long getKey()
    {
        return key;
    }
}
